home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / ALIAS / width < prev   
Encoding:
Text File  |  1993-05-04  |  1.1 KB  |  27 lines

  1. ALIAS MODIFIER:
  2.   This modifier is a width specifier for any of the forms of
  3.   alias.  This is done by placing [<width>] after the $ (and
  4.   after and ^c expressions).  For example:
  5.     $[10]C
  6.   This expand to your current channel, but it will truncate any
  7.   characters beyond 10 in the channel name.  If the channel is
  8.   less than 10 characters, it will be padded on the right with
  9.   blanks.  Specifying a negative width will justify the field on
  10.   the right and pad on the left with blanks.  A width of 0 is
  11.   treated as though no width specifier was used.  If you get real
  12.   tricky, you can do things like this:
  13.     $([$CHANNEL_NAME_WIDTH]C)
  14.   The value of the IRCII variable CHANNEL_NAME_WIDTH will be expanded
  15.   in the $() expression.   If CHANNEL_NAME_WIDTH is 10, this will result
  16.   in $[10]C which will then expand as described above.
  17.  
  18.   Remember, you can use both forms of modifiers, but they must be in
  19.   the correct order.  All ^ modifiers must be first, followed by any
  20.   [] modifier.  For example:
  21.     $^.[-10]S
  22.   This will right justify your server name and quote any . in the
  23.   server name with \.
  24.  
  25. See Also:
  26.   ALIAS QUOTE
  27.